Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

put

array.put

(I 
type
:
integer, i I, v T)
 => 
array T
create a new array with element i set to v. Grow the array in case i == length.

Complexity: O(array.this.length)
Precondition
pre
  safety: is_valid_index i || i.as_i64 = length

Type Parameters

0.099dev (GIT hash 250922c42fb1dcef5ce7ce89820538f53498ca37)
last changed: 2026-08-14